package com.tanhua.bg.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "publish_auditing")
public class PublishAuditing implements java.io.Serializable{
    @Id
    private ObjectId id;//主键id
    private ObjectId publishId;//发布id
    private Integer state;//审核状态
    private Integer topState;//置顶状态
    private Long created;//创建时间
}